package com.shanyi.sendmsg.controller;

import com.shanyi.sendmsg.biz.SendMsgBiz;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/send/msg")
public class SendMsgController {

    private static final String QQ = "/qq";
    
    @Resource
    private SendMsgBiz sendMsgBiz;

    @GetMapping(QQ)
    public String sendMsg() {
        return sendMsgBiz.sendMsgBiz();
    }
}
